package com.hqyj.crmdemo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hqyj.crmdemo.entity.BusinessRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.crmdemo.entity.Contact;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 何万林
 * @since 2022-10-17
 */
public interface IBusinessRecordService extends IService<BusinessRecord> {

    BusinessRecord queryOne(Integer businessId);

    List<BusinessRecord> queryAll();

    List<BusinessRecord> queryOne(QueryWrapper queryWrapper);

    Boolean add(BusinessRecord businessRecord);

    Boolean update(BusinessRecord businessRecord);

    Boolean delete(Integer businessId);

}
